import {Component} from '@angular/core';
import {IonicPage} from 'ionic-angular';
import {LocationProvider} from "@providers/location";
import {env} from "@env/environment";

/**
 * Generated class for the WorkerTabsPage tabs.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-worker-tabs',
  templateUrl: 'worker-tabs.html'
})
export class WorkerTabsPage {

  workerTakePageRoot = 'WorkerTakePage';
  workerLookPageRoot = 'WorkerLookPage';
  messageHomePageRoot = 'MessageHomePage';
  workerMaterielPageRoot = 'WorkerMaterielPage';
  workerMyPageRoot = 'WorkerMyPage';

  dev:boolean;
  constructor(private locationService: LocationProvider) {
    this.locationService.sendLocationToService();
    this.dev = env.mode == "prod";
  }

}
